<template>
    <div class="goods_cell" @click="lookDetail">
        <div class="image_box">
            <li-image :src="info.modelLogo" class="img" v-if="info.modelLogo" :alt="alt" />
            <img src="@/assets/images/home/goods.png" class="img" :alt="alt" v-else>
        </div>
        <div class="info">
            <div class="title">{{ info.modelName }}</div>
            <div class="price">参考价:<span class="unit">￥</span><span class="num">{{ info.referencePrice }}</span></div>
        </div>
    </div>
</template>
<script>
export default {
    name: 'MaterialModel',
    props: {
        info: {
            type: Object,
            default: function () {
                return {}
            }
        },
        alt:{
            type: String,
            default:''
        }
    },
    data() {
        return {

        }
    },
    methods: {
        // 查看详情
        lookDetail() {
            // let params = {}
            // let o = this.info
            // params.id = o.id
            // this.$routerPush('/shop/detail',params)
        },
       
    }
}
</script>
<style lang="less" scoped>
@import './model.less';
</style>